package org.lwd.datalink.system;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author lwd
 */
@Getter
@Setter
public class SystemSnapshot {
    private BigDecimal loadAverage;//1分钟平均负载
    private BigDecimal userCPUUtilization;//用户CPU使用率(%)
    private BigDecimal sysCPUUtilization;//系统CPU使用率(%)
    private Map<String, Long> incomingNetworkTrafficMap;//各个网卡接收的总字节数
    private Map<String, Long> outgoingNetworkTrafficMap;//各个网卡发送的总字节数
    private Long tcpCurrentEstab;//当前TCP连接数
    private Map<String,BigDecimal> diskUsageMap; //各个磁盘的使用率
}
